<?php
include_once('baseModeldto.php');

include_once('orderAddressdto.php');

include_once($_SERVER['DOCUMENT_ROOT'] . '/smartrfid/model/orderAddress.php');

class OrderInfodto extends BaseModeldto {
  public $id;
  public $address;
  public $creationDate;
  public $deliveryDate;
  public $dueDate;
  public $jobNumber;
  public $office;
  
  function resolveRelations() {
    $address = new OrderAddress();
    $address->loadByOrderInfoId($this->id);
    $this->address = new orderAddressdto($address);
  }
}
?>
